import Vue from 'vue'
import Router from 'vue-router'
import Login from "../components/Login"
import Need from "../components/Need"
import Change from "../components/Change";
import DemandManageHead from "../components/DemandManageHead";

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path: '/Need',
      name: 'Need',
      component: Need
    },
    {
      path: '/Change',
      name: 'Change',
      component: Change
    },
    {
      path: '/DMHead',
      name: 'DemandManageHead',
      component: DemandManageHead
    }
  ]
})
